#ifndef EMFCOLORSCALEDRAWABLE_H
#define EMFCOLORSCALEDRAWABLE_H

#include "color/colorscale.h"
#include <QRectF>
#include<QtOpenGL>

class EmfColorScaleDrawable
{
private:
    ColorScale *_colorScale;
    QRectF _boundingBox;
    int _height;
    int _width;

    void _drawText(QGLWidget *textRenderer);
public:

    EmfColorScaleDrawable();
    void setColorScale(ColorScale *colorScale);
    void setBoundingBox(QRectF boundingBox);
    void draw(QGLWidget *textRenderer);
};

#endif // EMFCOLORSCALEDRAWABLE_H
